翻訳と辞書
Words near each other
・ Bounding volume
・ Bounding volume hierarchy
・ Boundji
・ Boundji Airport
・ Boundji District
・ Boundless
・ Boundless (album)
・ Boundless (company)
・ Boundless Informant
・ Boundless Oceans, Vast Skies
・ Boundless productions
・ Boundless TV
・ Boundry Pillar railway station
・ Bounds (surname)
・ Bounds Building
Bounds checking
・ Bounds Green
・ Bounds Green TMD
・ Bounds Green tube station
・ Bounds Lott
・ Bounds v. Smith
・ Bounds-checking elimination
・ BoundsChecker
・ Boundstone
・ Boundstone Community College
・ Boundy
・ Boundétingou Airport
・ Boune
・ Bouneima
・ Bouneschlupp


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Bounds checking : ウィキペディア英語版
Bounds checking

In computer programming, bounds checking is any method of detecting whether a variable is within some bounds before it is used. It is usually used to ensure that a number fits into a given type (range checking), or that a variable being used as an array index is within the bounds of the array (index checking). A failed bounds check usually results in the generation of some sort of exception signal.
Because performing bounds checking during every usage is time-consuming, it is not always done. Bounds-checking elimination is a compiler optimization technique that eliminates unneeded bounds checking.
==Range checking==
A range check is a check to make sure a number is within a certain range; for example, to ensure that a value about to be assigned to a sixteen-bit integer is within the capacity of a sixteen-bit integer (i.e. checking against wrap-around). This is not quite the same as type checking. Other range checks may be more restrictive; for example, a variable to hold the number of a calendar month may be declared to accept only the range 1 to 12.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Bounds checking」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.